home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / my_pe.z / my_pe
Encoding:
Text File  |  2002-10-03  |  2.3 KB  |  71 lines

  1. MY_PE(3I)                                             Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      __mmyy__ppee, MMYY__PPEE - Returns the processing element (PE) number of the
  6.      calling PE
  7.  
  8. SSYYNNOOPPSSIISS
  9.      C/C++:
  10.  
  11.      ##iinncclluuddee <<iinnttrriinnssiiccss..hh>>
  12.      iinntt __mmyy__ppee ((vvooiidd));;
  13.  
  14.      Fortran on UNICOS and IRIX systems:
  15.  
  16.      II== MMYY__PPEE (())
  17.  
  18.      Fortran on UNICOS/mk systems:
  19.  
  20.      IINNTTRRIINNSSIICC MMYY__PPEE
  21.      II== MMYY__PPEE (())
  22.  
  23. IIMMPPLLEEMMEENNTTAATTIIOONN
  24.      C/C++:  UNICOS/mk systems
  25.  
  26.      Fortran:  UNICOS, UNICOS/mk, IRIX systems
  27.  
  28.      Cray C/C++, CF90, MIPSpro 7 Fortran 90
  29.  
  30. SSTTAANNDDAARRDDSS
  31.      C/C++ extension
  32.  
  33.      Fortran extension
  34.  
  35. DDEESSCCRRIIPPTTIIOONN
  36.      This function returns the processing element (PE) number of the
  37.      calling PE.  It accepts no arguments.  The result is an integer
  38.      between 0 and _n_p_e_s - 1, where _n_p_e_s is the total number of PEs
  39.      executing the current program.
  40.  
  41. NNOOTTEESS
  42.    CC//CC++++
  43.      Because __mmyy__ppee is an intrinsic function, no externally visible library
  44.      function is available for it.  The compiler generates inline code to
  45.      produce the result.
  46.  
  47.    FFoorrttrraann
  48.      Whether this function is intrinsic depends on your platform, as
  49.      follows:
  50.  
  51.      * On UNICOS and IRIX systems, it is supported as part of the Message
  52.        Passing Toolkit, and it is supported as an external function.
  53.  
  54.      * On UNICOS/mk systems, it is supported as an intrinsic function.
  55.  
  56.      MMYY__PPEE is an inquiry function.  The name of this intrinsic cannot be
  57.      passed as an argument.
  58.  
  59.      On UNICOS/mk systems, MMYY__PPEE returns the same value as
  60.      ssyyssccoonnff((__SSCC__CCRRAAYY__VVPPEE)).  See the ssyyssccoonnff(2) man page for more
  61.      information on this system call.
  62.  
  63. SSEEEE AALLSSOO
  64.      ssyyssccoonnff(2)
  65.  
  66.      A complete list of C/C++ intrinsic functions available on UNICOS and
  67.      UNICOS/mk systems is in the _C_r_a_y _C/_C++ _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l.
  68.  
  69.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  70.      man page.
  71.